pkglib_LTLIBRARIES=libgit.la
libgit_la_SOURCES=Libgit.tab.cc										\
				  lex.Libgit.cc											\
				  Libgit.cpp 										\
				  Libgit.h 											\
				  $(top_srcdir)/include/RepoTemplate/RepoTemplate.h \
				  $(top_srcdir)/include/utils/utils.h


Libgit.tab.cc: Libgit.yy
	$(YACC) Libgit.yy

lex.Libgit.cc: Libgit.ll
	$(LEX)  Libgit.ll


libgit_la_CPPFLAGS = -I$(top_srcdir)/include						\
					 -I$(top_srcdir)/lib							\
					  $(LIBXMLXX_CFLAGS)							\
					  $(CPPFLAGS)

CLEANFILES = *~ Libgit.tab.cc Libgit.tab.hh position.hh location.hh stack.hh lex.Libgit.cc

